Decodes the components of a URL that were encoded by EncodeURLComponent or equivalent.
Syntax |
|---|
|
result = DecodeURLComponent( str ) |
Parameters |
||
|---|---|---|
|
str |
The encoded URL. |
|
Return Value |
||
|---|---|---|
|
Result |
The 'original' string. |
|
Notes
A valid URL is a series of components that are separated by component separators. They are the ".", "/", ";", "&", and "?". EncodeURLComponent works with each component part of the URL. It assumes that any component separators in a component represent text and must be encoded. An encoded URL is decoded by DecodeURLComponent.
Example
Here is an example of how an encoded URL is decoded.
See Also
EncodeURLComponent function.